package com.carSys.Service;

import com.carSys.DTO.NegativeFeedBackDTO;
import com.carSys.Mapper.NegativeFeedbackDTOMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NegativeFeedbackDTOService {
    @Autowired
    private NegativeFeedbackDTOMapper negativeFeedbackDTOMapper;

    public List<NegativeFeedBackDTO> getAllNegativeFeedbacks() {
        return negativeFeedbackDTOMapper.getAllNegativeFeedbacks();
    }
}
